package org.pearl.spring.mybatis.demo.scan;

import org.mybatis.spring.annotation.MapperScannerRegistrar;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * Created by TD on 2021/10/29
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
@Import({MyScannerRegistrar.class})
public @interface MyScan {
    String[] value() default {};

    String[] basePackages() default {};
}

